﻿using iWare.Wms.Core;
using iWare.Wms.Core.Service;
using System.ComponentModel.DataAnnotations;

namespace iWare.Wms.Application
{    
    
    /// <summary>
    /// 出入库记录查询参数
    /// </summary>
    public class View_AccessDetailsSearch : PageInputBase
    {
        /// <summary>
        /// 任务号
        /// </summary>
        public virtual string Taskno { get; set; }
        
        /// <summary>
        /// 任务方式
        /// </summary>
        public virtual iWare.Wms.Core.Enum.TaskModel? Taskmodel { get; set; }
        
        /// <summary>
        /// 任务类型
        /// </summary>
        public virtual iWare.Wms.Core.Enum.TaskType? Tasktype { get; set; }
        
        /// <summary>
        /// 任务等级
        /// </summary>
        public virtual int? Tasklevel { get; set; }
        
        /// <summary>
        /// 任务状态
        /// </summary>
        public virtual iWare.Wms.Core.Enum.TaskStatus ?Taskstatus { get; set; }
        
        /// <summary>
        /// 来源
        /// </summary>
        public virtual string Sourceplace { get; set; }
        
        /// <summary>
        /// 目标
        /// </summary>
        public virtual string Toplace { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public virtual long? Containerid { get; set; }
        
        /// <summary>
        /// 托盘编码
        /// </summary>
        public virtual string Containercode { get; set; }
        
        /// <summary>
        /// 物料名称
        /// </summary>
        public virtual string Materialname { get; set; }
        
        /// <summary>
        /// 物料编码
        /// </summary>
        public virtual string Materialno { get; set; }
        
        /// <summary>
        /// 物料批次
        /// </summary>
        public virtual string Materialbatch { get; set; }
        
        /// <summary>
        /// 物料规格
        /// </summary>
        public virtual string Materialspec { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public virtual long? Materialid { get; set; }
        
        /// <summary>
        /// 操作数量
        /// </summary>
        public virtual decimal? Bindquantity { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public virtual iWare.Wms.Core.CommonStatus? Bindstatus { get; set; }
        
    }

    /// <summary>
    /// 出入库记录输入参数
    /// </summary>
    public class View_AccessDetailsInput
    {
        /// <summary>
        /// 任务号
        /// </summary>
        public virtual string Taskno { get; set; }
        
        /// <summary>
        /// 任务方式
        /// </summary>
        public virtual iWare.Wms.Core.Enum.TaskModel Taskmodel { get; set; }
        
        /// <summary>
        /// 任务类型
        /// </summary>
        public virtual iWare.Wms.Core.Enum.TaskType Tasktype { get; set; }
        
        /// <summary>
        /// 任务等级
        /// </summary>
        public virtual int Tasklevel { get; set; }
        
        /// <summary>
        /// 任务状态
        /// </summary>
        public virtual iWare.Wms.Core.Enum.TaskStatus Taskstatus { get; set; }
        
        /// <summary>
        /// 来源
        /// </summary>
        public virtual string Sourceplace { get; set; }
        
        /// <summary>
        /// 目标
        /// </summary>
        public virtual string Toplace { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public virtual long Containerid { get; set; }
        
        /// <summary>
        /// 托盘编码
        /// </summary>
        public virtual string Containercode { get; set; }
        
        /// <summary>
        /// 物料名称
        /// </summary>
        public virtual string Materialname { get; set; }
        
        /// <summary>
        /// 物料编码
        /// </summary>
        public virtual string Materialno { get; set; }
        
        /// <summary>
        /// 物料批次
        /// </summary>
        public virtual string Materialbatch { get; set; }
        
        /// <summary>
        /// 物料规格
        /// </summary>
        public virtual string Materialspec { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public virtual long Materialid { get; set; }
        
        /// <summary>
        /// 操作数量
        /// </summary>
        public virtual decimal Bindquantity { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public virtual iWare.Wms.Core.CommonStatus Bindstatus { get; set; }
        
    }

    public class AddView_AccessDetailsInput : View_AccessDetailsInput
    {
    }

    public class DeleteView_AccessDetailsInput : BaseId
    {
    }

    public class UpdateView_AccessDetailsInput : View_AccessDetailsInput
    {
    }

    public class QueryeView_AccessDetailsInput : BaseId
    {

    }
}
